open class Foo(var foo: String?, open protected val bar: String?)